#include<stdio.h>
int main()
{
	int n=0;
	scanf("%d",&n);
	int ret=0;
	int i=1;
	int sum=0;
	while(n)
	{
		ret=n%10;
		if(ret%2==0)
			ret=0;
		else
			ret=1*i;
		sum+=ret;		
		n/=10;
		i*=10;
	}
	printf("%d",sum);
	return 0;
}